﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///MyHandler 的摘要说明
/// </summary>
public class MyHandler
{
    public MyHandler()
    {
        //
        //TODO: 在此处添加构造函数逻辑
        //
    }
    #region Implementation of IHttpHandler
    public void ProcessRequest(System.Web.HttpContext context)
    {
        String virpath = context.Request.FilePath.ToString().ToLower();
        String prix = virpath.Substring(virpath.LastIndexOf("."));
        //if()
        //String reqpage = context.Request.Url;
        switch (virpath)
        {
            case "/default.aspx": ;
                break;


        }

        if (context.Request.FilePath.ToString().ToLower().Equals("u"))
        {

        }

        HttpResponse objResponse = context.Response;
        objResponse.Write("<html><body><h1>Hello 15Seconds   Reader ");
        objResponse.Write("</body></html>");
    }

    public bool IsReusable
    {
        get
        {
            return true;
        }
    }
    #endregion
}
